Port Direction registers
DIRP0 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP1 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP2 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP3 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP4 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP5 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP6 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP7 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP8 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP9 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP10 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP11 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP12 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP13 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP14 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP15 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP16 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP17 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP18 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP19 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP20 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP21 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP22 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP23 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP24 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP25 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP26 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP27 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP28 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP29 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP30 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |
DIRP31 | Selects pin direction for pin PIOm_n (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = input. 1 = output. |